package com.nju.galaxywalker.listener;

import com.nju.galaxywalker.SearchOnMapActivity;
import com.nju.galaxywalker.elemainspace.PeosonalGoodsActivity;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

public class SearchOnMapListener implements OnClickListener{

	private  Context context;
	private int type;
	private String userid;
	
	public SearchOnMapListener(Context context,int type,String userid){
		this.context=context;
		this.type=type;
		this.userid=userid;
		
	}
	
	@Override
	public void onClick(View arg0) {
		// TODO Auto-generated method stub
		Intent intent = new Intent();
		intent.setClass(context, SearchOnMapActivity.class);
		context.startActivity(intent);
	}

}
